package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

/**
 * 
 *
 * @author code-generate
 * @date 2021-08-30
 */
@Data
@DbTable(tableName = "t_store_info")
public class StoreInfo extends BaseEntity {
        /**
     * 物品类别名称
     */
    @DbTableField(columnName = "c_name", dbType = DbTypeEnum.VARCHAR)
    public String name ;

    /**
     * 单位
     */
    @DbTableField(columnName = "c_unit", dbType = DbTypeEnum.VARCHAR)
    public String unit ;

    /**
     * 数量
     */
    @DbTableField(columnName = "c_num", dbType = DbTypeEnum.INTEGER)
    public Integer num ;

    /**
     * 类别
     */
    @DbTableField(columnName = "c_type", dbType = DbTypeEnum.INTEGER)
    public Integer type ;

    /**
     * 类别名称
     */
    @DbTableField(columnName = "c_type_name", dbType = DbTypeEnum.VARCHAR)
    public String typeName ;

    /**
     *  仓库Id  t_store_house.c_id
     */
    @DbTableField(columnName = "c_hose_id", dbType = DbTypeEnum.INTEGER)
    public Integer hoseId ;

    /**
     * 仓库名称 t_store_house.c_name
     */
    @DbTableField(columnName = "c_hose_name", dbType = DbTypeEnum.VARCHAR)
    public String hoseName ;


}
